#include"list.h"
int main()
{
	oker::list<int>l;
	l.push_back(4);
	l.push_back(3);
	l.push_back(2);
	l.push_back(1);
	oker::list<int>::reverse_iterator rit = l.rbegin();
	while (rit != l.rbegin())
	{
		cout << *rit;
	}
	cout << endl;

	return 0;
}